package domain

type TmallServiceSettleadjustmentModifySettleAdjustmentRequest struct {
	/*
	   调整费用，单位分     */
	Cost *int64 `json:"cost,omitempty" `

	/*
	   调整原因描述     */
	Description *string `json:"description,omitempty" `

	/*
	   调整单ID     */
	Id *int64 `json:"id,omitempty" `

	/*
	   调整原因图片url,最后不用加分号，最多三条     */
	PictureUrls *string `json:"picture_urls,omitempty" `

	/*
	   计价因子，填写规则为：1、有计价因子场景：{name:计价因子名称 ,value:数量｝如示例。2、没有计价因子场景：填默认值：｛name:计价因子,value:0｝     */
	PriceFactors *[]TmallServiceSettleadjustmentModifySettlementPriceFactor `json:"price_factors,omitempty" `

	/*
	   调整单类型：1,配件费;2,不符单费;3,拆旧费;4,二次上门;5,胶费;6,打孔费;7,层高费;8,远程费;9,单外费;10,其他     */
	Type *int64 `json:"type,omitempty" `
}

func (s *TmallServiceSettleadjustmentModifySettleAdjustmentRequest) SetCost(v int64) *TmallServiceSettleadjustmentModifySettleAdjustmentRequest {
	s.Cost = &v
	return s
}
func (s *TmallServiceSettleadjustmentModifySettleAdjustmentRequest) SetDescription(v string) *TmallServiceSettleadjustmentModifySettleAdjustmentRequest {
	s.Description = &v
	return s
}
func (s *TmallServiceSettleadjustmentModifySettleAdjustmentRequest) SetId(v int64) *TmallServiceSettleadjustmentModifySettleAdjustmentRequest {
	s.Id = &v
	return s
}
func (s *TmallServiceSettleadjustmentModifySettleAdjustmentRequest) SetPictureUrls(v string) *TmallServiceSettleadjustmentModifySettleAdjustmentRequest {
	s.PictureUrls = &v
	return s
}
func (s *TmallServiceSettleadjustmentModifySettleAdjustmentRequest) SetPriceFactors(v []TmallServiceSettleadjustmentModifySettlementPriceFactor) *TmallServiceSettleadjustmentModifySettleAdjustmentRequest {
	s.PriceFactors = &v
	return s
}
func (s *TmallServiceSettleadjustmentModifySettleAdjustmentRequest) SetType(v int64) *TmallServiceSettleadjustmentModifySettleAdjustmentRequest {
	s.Type = &v
	return s
}
